<?php


namespace app\home\validate;


use app\common\validate\BaseValidate;

class Member extends BaseValidate
{
    protected $rule = [
        'receive_id|领取人id' => 'require',
        'task_id|任务ID' => 'require',
        'finish_step|提交步骤' => 'require'
    ];
    protected $scene = [
        'addTask' => ['receive_id', 'task_id'],
        'post' => ['finish_step']
    ];
}